package com.zeng.jiudian.mapper;

import com.zeng.jiudian.bean.ShowModel;
import com.zeng.jiudian.bean.ShowModelExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShowMapper
{
    long countByExample(ShowModelExample example);

    int deleteByExample(ShowModelExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(ShowModel record);

    int insertSelective(ShowModel record);

    List<ShowModel> selectByExampleWithBLOBs(ShowModelExample example);

    //创一
    public List<ShowModel> selectAll(ShowModel showModel);

    //创二
    public int selectCount(ShowModel showModel);

    //创三
    public List<ShowModel> selectUnion();

    List<ShowModel> selectByExample(ShowModelExample example);

    ShowModel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") ShowModel record, @Param("example") ShowModelExample example);

    int updateByExampleWithBLOBs(@Param("record") ShowModel record, @Param("example") ShowModelExample example);

    int updateByExample(@Param("record") ShowModel record, @Param("example") ShowModelExample example);

    int updateByPrimaryKeySelective(ShowModel record);

    int updateByPrimaryKeyWithBLOBs(ShowModel record);

    int updateByPrimaryKey(ShowModel record);
}